package com.scproject.scbef.mapper;

import com.scproject.scbef.pojo.PoliticsKnowledgeType;
import com.scproject.scbef.pojo.PoliticsKnowledgeTypeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PoliticsKnowledgeTypeMapper {
    long countByExample(PoliticsKnowledgeTypeExample example);

    int deleteByExample(PoliticsKnowledgeTypeExample example);

    int deleteByPrimaryKey(String id);

    int insert(PoliticsKnowledgeType record);

    int insertSelective(PoliticsKnowledgeType record);

    List<PoliticsKnowledgeType> selectByExample(PoliticsKnowledgeTypeExample example);

    PoliticsKnowledgeType selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") PoliticsKnowledgeType record, @Param("example") PoliticsKnowledgeTypeExample example);

    int updateByExample(@Param("record") PoliticsKnowledgeType record, @Param("example") PoliticsKnowledgeTypeExample example);

    int updateByPrimaryKeySelective(PoliticsKnowledgeType record);

    int updateByPrimaryKey(PoliticsKnowledgeType record);

}